package hos.demo;

import android.os.Bundle;
import android.view.View;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;

import hos.thread.Job;
import hos.thread.executor.TS;
import hos.thread.RunnableJob;


/**
 * <p>Title: TextFragment </p>
 * <p>Description:  </p>
 * <p>Company: www.mapuni.com </p>
 *
 * @author : 蔡俊峰
 * @version : 1.0
 * @date : 2023/8/2 13:09
 */
class TextFragment extends Fragment {

    @Override
    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        TS.run(thread -> null);
        Job.runUI(mainHandler -> null);
        Job.getJob(job -> null)
                .onProgress(value -> {
                    return null;
                })
                .onSuccess((job, s) -> {

                    return null;
                });
        RunnableJob.get(job -> null)
                .onProgress(value -> {
                    return null;
                })
                .onSuccess((job, s) -> {

                    return null;
                });


    }
}
